<?php  //ͬ����˾�б�
/*	 $sql="select top 6 * from Celebrity wheres company_id=(elect company_id from Celebrity where celebrity_id=".$celebrity_id.") and celebrity_id!=".$celebrity_id." order by create_time desc";
	 $result=odbc_exec($dbconn,$sql);
	  while(odbc_fetch_row($result))
	  {
    	  echo "<div class='similar_con'>
          <a href='#' target='_blank'><img src='".odbc_result($result,"snapshot_big")."'  /></a>
          <p>".mb_convert_encoding(odbc_result($result,"source"),"utf-8","gb2312")."</p>
         </div>";
	  }*/
    foreach($sclCelebritys as $celebrity)
    {
         echo "<div class='similar_con'>
          <a href='#' target='_blank'><img src='/".$celebrity->getSnapshot_big()."'  /></a>
          <p>".$celebrity->getSource()."</p></div>";
        //mb_convert_encoding($celebrity->getSource(),"utf-8","gb2312")
    }
?>